<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions">

<body>
	
	<ui:composition>

		<center>
			<table border="0" align="right" cellpadding="2" cellspacing="2">
				<tr>
					<td align="center" valign="bottom">
						<h:form id="formMenuUser">
							<p:splitButton value="#{usuarioBean.usuario.nome}"
								icon="ui-icon-person">
								<p:menuitem value="Configurar conta" icon="ui-icon-contact" />
								<p:menuitem value="Editar conta" ajax="false"
									icon="ui-icon-pencil" />
								<p:separator />
								<p:menuitem value="Logout" icon="ui-icon-extlink"
									action="#{usuarioBean.logout}" ajax="false" />
							</p:splitButton>
						</h:form>
					</td>
				</tr>

			</table>
		</center>

	</ui:composition>
	
</body>
</html>